/**cnpm i express --save **/
var express = require('express');

var app = new express();


app.get('/test',function (req,res) {
    res.send('test');
})

var server  =app.listen(3000,'localhost',function () {
    var host = server.address().address;
    var port= server.address().port;

    console.log("the server is running on http:// %s:%s",host,port);
})

